package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import com.atguigu.yygh.vo.order.SignInfoVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {

    void saveHospital(Map<String, Object> paramMap);


    Hospital getByHoscode(String hoscode);

    Page<Hospital> getHospitalPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String hospitalId, Integer status);

    Map<String, Object> showHospDetailById(String hospitalId);

    /**
     * 根据hoscode获取医院的名称
     * @param hoscode
     * @return
     */
    String getHospitalNameByHoscode(String hoscode);

    List<Hospital> getHospListByHosName(String hosname);
    // 根据医院编号查询医院信息
    Map<String, Object> showHospDetailByHoscode(String hoscode);

    SignInfoVo getSignInfoVoByHoscode(String hoscode);
}
